<?php

/**
 * GeneralNotification model class
 */
class GeneralNotification {
    
    private $id;
    private $title;
    private $content;
    private $creator;
    private $editor;
    private $important;
    private $archived;
    private $deleted;
    private $added;
    private $type;
    private $modified;
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getTitle() {
        return $this->title;
    }

    public function setTitle($title) {
        $this->title = $title;
    }

    public function getContent() {
        return $this->content;
    }

    public function setContent($content) {
        $this->content = $content;
    }

    public function getCreator() {
        return $this->creator;
    }

    public function setCreator($creator) {
        $this->creator = $creator;
    }

    public function getEditor() {
        return $this->editor;
    }

    public function setEditor($editor) {
        $this->editor = $editor;
    }

    public function getImportant() {
        return $this->important;
    }

    public function setImportant($important) {
        $this->important = $important;
    }

    public function getArchived() {
        return $this->archived;
    }

    public function setArchived($archived) {
        $this->archived = $archived;
    }

    public function getDeleted() {
        return $this->deleted;
    }

    public function setDeleted($deleted) {
        $this->deleted = $deleted;
    }

    public function getAdded() {
        return $this->added;
    }

    public function setAdded($added) {
        $this->added = $added;
    }
    
    public function getModified() {
        return $this->modified;
    }

    public function setModified($modified) {
        $this->modified = $modified;
    }

    public function getType() {
        return $this->type;
    }

    public function setType($type) {
        $this->type = $type;
    }
    
    public function toString(){
        $result = 'ID = '.$this->getId().'<br />';
        $result .= 'Title = '.$this->getTitle().'<br />';
        $result .= 'Content = '.$this->getContent().'<br />';
        $result .= 'Creator = '.$this->getCreator().'<br />';
        $result .= 'Editor = '.$this->getEditor().'<br />';
        $result .= 'Important = '.$this->getImportant().'<br />';
        $result .= 'Archived = '.$this->getArchived().'<br />';
        $result .= 'Deleted = '.$this->getDeleted().'<br />';
        $result .= 'Added = '.$this->getAdded().'<br />';
        $result .= 'Modified = '.$this->getModified().'<br />';
        $result .= 'Type = '.$this->getType().'<br />';
        return $result;
    }
 
    
}

?>
